package com.zj.small.controller;

import com.zj.small.mapper.UserMapper;
import com.zj.small.pojo.User;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api")
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class AboutController {

    @Autowired
    private UserMapper userMapper;
    @GetMapping("/about")
    public String about(){
        return "2";
    }
}
